﻿using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using DemoService;

namespace DemoService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface ICustomersService
    {
        [OperationContract]
        Customer[] GetCustomers();

        [OperationContract]
        void InsertCustomer(Customer customer);

        [OperationContract]
        void RemoveCustomer(Customer customer);

        [OperationContract]
        void UpdateCustomer(Customer customer);
    }
}
